<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Readline 函数</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="readline.constants.html">« 预定义常量</a></li>
      <li style="float: right;"><a href="function.readline-add-history.html">readline_add_history »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.readline.html">Readline</a></li>
    <li>Readline 函数</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ref.readline" class="reference">
 <h1 class="title">Readline 函数</h1>

 






















































































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="function.readline-add-history.html">readline_add_history</a> — 添加一行命令行历史记录</li><li><a href="function.readline-callback-handler-install.html">readline_callback_handler_install</a> — 初始化一个 readline 回调接口，然后终端输出提示信息并立即返回</li><li><a href="function.readline-callback-handler-remove.html">readline_callback_handler_remove</a> — 移除上一个安装的回调函数句柄并且恢复终端设置</li><li><a href="function.readline-callback-read-char.html">readline_callback_read_char</a> — 当一个行被接收时读取一个字符并且通知 readline 调用回调函数</li><li><a href="function.readline-clear-history.html">readline_clear_history</a> — 清除历史</li><li><a href="function.readline-completion-function.html">readline_completion_function</a> — 注册一个完成函数</li><li><a href="function.readline-info.html">readline_info</a> — 获取/设置readline内部的各个变量</li><li><a href="function.readline-list-history.html">readline_list_history</a> — 获取命令历史列表</li><li><a href="function.readline-on-new-line.html">readline_on_new_line</a> — 通知readline将光标移动到新行</li><li><a href="function.readline-read-history.html">readline_read_history</a> — 读取命令历史</li><li><a href="function.readline-redisplay.html">readline_redisplay</a> — 重绘显示区</li><li><a href="function.readline-write-history.html">readline_write_history</a> — 写入历史记录</li><li><a href="function.readline.html">readline</a> — 读取一行</li></ul>
</div>
</div></div></body></html>